package com.android.memoprendiz.model;

import java.util.Vector;

public class Phrase {
	private Vector<Word> words = null;
	private String level; 
	private String text;
	
	public Phrase(Vector<Word> words, String text, String level){
		this.words = words;
		this.text = text;
		this.level = level;
	}
	
	public Vector<Word> getWords() {
		return words;
	}

	public void setWords(Vector<Word> words) {
		this.words = words;
	}

	public String getPhraseText() {
		return text;
	}

	public void setText(String texto) {
		this.text = texto;
	}

	public String getPhraseLevel() {
		return level;
	}

	public int getPhraseLevelNumber() {
		Character n = level.charAt(1);
		return Integer.valueOf(n.toString());
	}

	public void setPhraseLevel(String level) {
		this.level = level;
	}	
}